package CtrlLayer;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class CtrlLayer
{
    
    public CtrlLayer()
    {
        
    }

    public Date getDate()
    {
        Date date = new Date();
        return date;
    }

    public String getDateString()
    {
        DateFormat dateFormat = new SimpleDateFormat("dd-MM-yy");
        Date date = new Date();
        return dateFormat.format(date);
    }
    
    public String getDateTimeString()
    {
	    DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
	    
        Date date = new Date();
        return dateFormat.format(date);
    }
}
    